class TourModel {
  late String id;
  late String title;
  late String desc;
  late int price;

  TourModel.fromJson(json) {
    this.id = json['id'] ?? '';
    this.title = json['title'] ?? '';
    this.desc = json['desc'] ?? '';
    this.price = json['price'] ?? 0;
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> map = {};
    map['id'] = id;
    map['title'] = title;
    map['desc'] = desc;
    map['price'] = price;
    return map;
  }
}
